import request from '@/utils/request';
export function carPhoneAdd(data) {
  return request({
    url: `/car/phone`,
    method: 'post',
    data
  })
}

export function carPhoneList(params) {
  return request({
    url: `/car/phone/list`,
    method: 'get',
	params
  })
}
export function carPhoneEdit(data) {
  return request({
    url: `/car/phone`,
    method: 'put',
    data
  })
}

export function carPhoneDelete(ids) {
  return request({
    url: `/car/phone/${ids}`,
    method: 'delete',
  })
}

export function carPhoneDetails(couponIds) {
  return request({
    url: `/car/phone/${couponIds}`,
    method: 'get',
  })
}
